<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="page" value="#{accPostingTransBean.page}"/>
		<f:event type="preRenderView" listener="#{accPostingTransBean.paginate}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Search Acc Posting Trans entities"/>

	<ui:define name="header">
		Acc Posting Trans
	</ui:define>

	<ui:define name="subheader">
		Search Acc Posting Trans entities
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="search">
			<f:validateBean disabled="true">
				<h:panelGroup styleClass="search">

					<h:panelGrid columnClasses="label,component,required" columns="3">
						<h:outputLabel for="accPostingTransBeanExamplePostingNo" value="Posting No:"/>
						<h:panelGroup>
							<h:inputText id="accPostingTransBeanExamplePostingNo" value="#{accPostingTransBean.example.postingNo}"/>
							<h:message for="accPostingTransBeanExamplePostingNo" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="accPostingTransBeanExampleOrgNo" value="Org No:"/>
						<h:panelGroup>
							<h:inputText id="accPostingTransBeanExampleOrgNo" value="#{accPostingTransBean.example.orgNo}"/>
							<h:message for="accPostingTransBeanExampleOrgNo" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="accPostingTransBeanExamplePostingByUserNo" value="Posting By User No:"/>
						<h:panelGroup>
							<h:inputText id="accPostingTransBeanExamplePostingByUserNo" value="#{accPostingTransBean.example.postingByUserNo}"/>
							<h:message for="accPostingTransBeanExamplePostingByUserNo" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="accPostingTransBeanExamplePostingStatusNo" value="Posting Status No:"/>
						<h:panelGroup>
							<h:inputText id="accPostingTransBeanExamplePostingStatusNo" value="#{accPostingTransBean.example.postingStatusNo}"/>
							<h:message for="accPostingTransBeanExamplePostingStatusNo" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="accPostingTransBeanExamplePostingMemo" value="Posting Memo:"/>
						<h:panelGroup>
							<h:inputText id="accPostingTransBeanExamplePostingMemo" maxLength="500" value="#{accPostingTransBean.example.postingMemo}"/>
							<h:message for="accPostingTransBeanExamplePostingMemo" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
					</h:panelGrid>
					<h:panelGroup styleClass="buttons">
						<h:commandLink value="Search" action="#{accPostingTransBean.search}" styleClass="btn btn-primary"/>
						<h:commandLink value="Create New" action="#{accPostingTransBean.create}" styleClass="btn btn-primary"/>
					</h:panelGroup>
				</h:panelGroup>
			</f:validateBean>
			
			<h:dataTable id="accPostingTransBeanPageItems" styleClass="data-table" value="#{accPostingTransBean.pageItems}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Posting No"/>
					</f:facet>
					<h:link outcome="/form/accPostingTrans/view">
						<f:param name="id" value="#{_item.postingNo}"/>
						<h:outputText id="itemPostingNo" value="#{_item.postingNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<ui:include src="/resources/scaffold/paginator.xhtml">
				<ui:param name="paginatorBean" value="#{accPostingTransBean}"/>
			</ui:include>
		</h:form>
			
	</ui:define>

</ui:composition>
